package com.ybwh.springboot1.dao;

import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ybwh.springboot1.model.Area;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author saytime
 * @since 2018-12-06
 */
public interface AreaMapper extends BaseMapper<Area> {

	Area selectByPrimaryKey(@Param("id") Integer id);

	/**
	 * 
	 *
	 * @param page
	 * @param map
	 *          ״̬
	 * @return
	 */
	IPage<Area> selectPageVo(Page<Area> page, @Param("map") Map<String, Object> map);

}
